export default defineAppConfig({
  pages: [
    "pages/index/index",
    "pages/user/user",
    "pages/user/user-edit",
    "pages/address/address-list",
    "pages/address/address-save",
    "pages/index/order-list",
    "pages/rating/rating",
    "pages/rating/rating-list",
    "pages/index/deliver-order-list",
    "pages/index/deliver-register",
    "pages/feedback/feedback",
    "pages/user/wallet-record",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "",
    navigationBarTextStyle: "black",
  },
  tabBar: {
    borderStyle: "black",
    backgroundColor: "#ffffff",
    color: "#D0CCDA",
    selectedColor: "#307EB7",
    list: [
      {
        pagePath: "pages/index/index",
        iconPath: "assets/icons/home.png",
        selectedIconPath: "assets/icons/home-active.png",
        text: "首页",
      },
      {
        pagePath: "pages/user/user",
        iconPath: "assets/icons/user.png",
        selectedIconPath: "assets/icons/user-active.png",
        text: "我的",
      },
    ],
  },
  usingComponents: {},
  permission: {
    "scope.userLocation": {
      desc: "你的位置将用于确认收货地址",
    },
  },
  requiredPrivateInfos: ["getLocation", "chooseLocation"],
});
